import http from "@/http";

export default {
    upload: {
        name: '上传接口',
        url: '/api/upload',
        call: async function (params: any = {}) { 
            return await http.post(this.url,params)
        }
    },
    imglist: {
        name: '图片列表',
        url: '/api/upload',
        call: async function (params: any = {}) {
            return await http.get(this.url, params)
        }
    }
}